import { createRouter, createWebHistory,RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    component: () => import("../components/HelloWorld.vue"),
  },
  {
    path: "/About",
    component: () => import( "../views/About.vue"),
  }, 
  {
    path: "/MemLogin",
    component: () => import( "../views/MemLogin.vue"),
  }, 
  {
    path: "/AddMember",
    component: () => import( "../views/AddMember.vue"),
  },
  {
    path: "/ShowMember",
    component: () => import( "../views/ShowMember.vue"),
  },
  {
    path: "/UpdMember",
    component: () => import( "../views/UpdMember.vue"),
  },
  {
    path: "/InterView",
    component: () => import( "../views/InterView.vue"),
  },
  {
    path: "/MemberShowDetail",
    component: () => import( "../views/MemberShowDetail.vue"),
  },
  {
    path: "/ChatView",
    component: () => import( "../views/ChatView.vue"),
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes

})

export default router